﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
using CTP.Entitys;

namespace CTP.ComWrap
{
    [ComVisible(false)]
    public delegate void OnOrderStatusHandle(OrderStatusEventArgs e);

    [Guid("1e6b4cfa-1614-42bd-8336-fc6f0c35dffc")]
    public interface IOrderStatusEventArgs
    {
        ReturnInfo ReturnInfo { get; set; }
        OrderStatus OrderStatus { get; set; }
        int RequestID { get; set; }
    }

    [Guid("44910d93-5949-476d-a291-9996e5f84162")]
    [ClassInterface(ClassInterfaceType.None)]
    public class OrderStatusEventArgs : EventArgs, IOrderStatusEventArgs
    {
        public ReturnInfo ReturnInfo { get; set; }
        public OrderStatus OrderStatus { get; set; }
        public int RequestID { get; set; }
    }

}
